approach of insert into binary search